package com.sudoku.register.serviceImp;

import com.pojo.Sudokuer;
import com.sudoku.register.RegisterDao;
import com.sudoku.register.RegisterService;

public class RegisterServiceImp implements RegisterService {

	private RegisterDao registerDao;

	public RegisterDao getRegisterDao() {
		return registerDao;
	}

	public void setRegisterDao(RegisterDao registerDao) {
		this.registerDao = registerDao;
	}

	public int findSameName(String name) {
		return registerDao.hasSameName(name);
	}

	public void insertRegister(Sudokuer s) {
		registerDao.registerSudokuer(s);
	}

}
